/*
 * DeviceHeight.h
 *
 * Created on: $(date:yyyy-MM-dd)
 * Author: $(user)
 */

#ifndef DeviceHeight_H
#define DeviceHeight_H

#include "Device.hpp"
#include "common.h"

class DeviceHeight : public Device<float> {
// class DeviceHeight : public SerialPort, public Device<float> {
public:
    string deviceName;
    string deviceType;

    void func(float& data) ;

    using Device<float>::Device;
    ~DeviceHeight();
    
    // 禁止拷贝
    DeviceHeight(const DeviceHeight&) = delete;
    DeviceHeight& operator=(const DeviceHeight&) = delete;
};

#endif // DeviceHeight_H